<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>@yield('title')</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <link rel="stylesheet" href="{{asset('static/bootstrap/css/bootstrap.min.css')}}"  media="all">
  @section('style')
  @show
</head>
<body style="">
<nav class="navbar navbar-default" role="navigation" style="margin-bottom:0px;background-color:#DBCD8B">
    <div class="container-fluid">
        <div class="navbar-header">
            <a class="navbar-brand" href="#">Laravel</a>
        </div>
        <div>
            <ul class="nav nav-pills navbar-right" style="height:50px;padding-top:5px;">
                <li class="active"><a href="#">Home</a></li>
                <li><a href="#">SVN</a></li>
                <li><a href="#">iOS</a></li>
                <li><a href="#">VB.Net</a></li>
                <li class="dropdown">
                  <a class="" data-toggle="dropdown" href="#">
                    我的
                    <span class="caret"></span>
                  </a>
                  <ul class="dropdown-menu">
                    <li><a href="#">Swing</a></li>
                    <li><a href="#">jMeter</a></li>
                    <li><a href="#">EJB</a></li>
                  </ul>
                </li>
            </ul>

        </div>
    </div>
</nav>
<div class="row">
        <div class="col-md-2" >
                <ul id="main-nav" class="nav nav-tabs nav-stacked" style="background-color: #ccc;">
                    <li class="active">
                        <a href="/news">
                            <i class="glyphicon glyphicon-th-large"></i>
                            首页
                        </a>
                    </li>
                    @section('nav')
                    <li>
                        <a href="#systemSetting" class="nav-header " data-toggle="collapse">
                            <i class="glyphicon glyphicon-cog"></i>
                            信息管理
                            <span class="pull-right glyphicon glyphicon-chevron-down"></span>
                        </a>
                        <ul id="systemSetting" class="nav nav-list collapse secondmenu" style="height: 0px;">
                            <li><a href="{{url('news')}}"><i class="glyphicon glyphicon-user"></i>信息列表</a></li>
                            <li><a href="{{url('news/create')}}"><i class="glyphicon glyphicon-user"></i>信息添加</a></li>
                        </ul>
                    </li>
                    <li>
                        <a href="#user" class="nav-header collapsed" data-toggle="collapse">
                            <i class="glyphicon glyphicon-cog"></i>
                            用户管理
                            <span class="pull-right glyphicon glyphicon-chevron-down"></span>
                        </a>
                        <ul id="user" class="nav nav-list collapse secondmenu" style="height: 0px;">
                            <li><a href="mytask"><i class="glyphicon glyphicon-user"></i>用户管理</a></li>
                            <li><a href="#"><i class="glyphicon glyphicon-th-list"></i>菜单管理</a></li>
                            <li><a href="#"><i class="glyphicon glyphicon-asterisk"></i>角色管理</a></li>
                            <li><a href="#"><i class="glyphicon glyphicon-edit"></i>修改密码</a></li>
                            <li><a href="#"><i class="glyphicon glyphicon-eye-open"></i>日志查看</a></li>
                        </ul>
                    </li>
                    @show
                </ul>
        </div>
        <div class="col-md-8" style="margin-bottom:90px;">
                @section('content')
                @show
        </div>
    </div>

<div id="footer" class="container" style="background-color:#ACACAC">
    <nav class="navbar navbar-default navbar-fixed-bottom">
        <div class="navbar-inner navbar-content-center">
            <p class="text-muted credit" style="padding: 10px;text-align: center;">
                Copyright©2013-2018  菜鸟教程  runoob.com All Rights Reserved. 备案号：闽ICP备15012807号-1
            </p>
        </div>
    </nav>
</div>
</body>
</html>
<script src="https://cdn.bootcss.com/jquery/2.1.1/jquery.min.js"></script>
<script src="{{asset('static/bootstrap/js/bootstrap.min.js')}}" charset="utf-8"></script>
@section('js')
@show
<script>
  $(function() {
    $(".dropdown-toggle").dropdown('toggle');
  });
</script>